<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,edit')}
                        <div class="dropdown btn-group {:$auth->check('user/user/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('user/user/edit')}"
                           data-operate-del="{:$auth->check('user/user/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script id="customformtpl" type="text/html">
    <form class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" novalidate="" method="post"
          action="">
        <fieldset>
            <div class="row">
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="id"
                                                                                    class="control-label col-xs-4">ID</label>
                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="id-operate"
                                                 data-name="id" value="=" readonly=""><input type="text"
                                                                                             class="form-control"
                                                                                             name="id" value=""
                                                                                             placeholder="ID" id="id"
                                                                                             data-index="1"></div>
                </div>
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="group.name"-->
<!--                                                                                    class="control-label col-xs-4">角色组</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="group.name-operate"-->
<!--                                                 data-name="group.name" value="=" readonly=""><input type="text"-->
<!--                                                                                                     class="form-control"-->
<!--                                                                                                     name="group.name"-->
<!--                                                                                                     value=""-->
<!--                                                                                                     placeholder="角色组"-->
<!--                                                                                                     id="group.name"-->
<!--                                                                                                     data-index="2">-->
<!--                    </div>-->
<!--                </div>-->
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="username"
                                                                                    class="control-label col-xs-4">用户名</label>
                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="username-operate"
                                                 data-name="username" value="LIKE" readonly=""><input type="text"
                                                                                                      class="form-control"
                                                                                                      name="username"
                                                                                                      value=""
                                                                                                      placeholder="用户名"
                                                                                                      id="username"
                                                                                                      data-index="3">
                    </div>
                </div>
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="nickname"-->
<!--                                                                                    class="control-label col-xs-4">昵称</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="nickname-operate"-->
<!--                                                 data-name="nickname" value="LIKE" readonly=""><input type="text"-->
<!--                                                                                                      class="form-control"-->
<!--                                                                                                      name="nickname"-->
<!--                                                                                                      value=""-->
<!--                                                                                                      placeholder="昵称"-->
<!--                                                                                                      id="nickname"-->
<!--                                                                                                      data-index="4">-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="email"-->
<!--                                                                                    class="control-label col-xs-4">电子邮箱</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="email-operate"-->
<!--                                                 data-name="email" value="LIKE" readonly=""><input type="text"-->
<!--                                                                                                   class="form-control"-->
<!--                                                                                                   name="email" value=""-->
<!--                                                                                                   placeholder="电子邮箱"-->
<!--                                                                                                   id="email"-->
<!--                                                                                                   data-index="5"></div>-->
<!--                </div>-->
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="mobile"
                                                                                    class="control-label col-xs-4">手机号</label>
                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="mobile-operate"
                                                 data-name="mobile" value="LIKE" readonly=""><input type="text"
                                                                                                    class="form-control"
                                                                                                    name="mobile"
                                                                                                    value=""
                                                                                                    placeholder="手机号"
                                                                                                    id="mobile"
                                                                                                    data-index="6">
                    </div>
                </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="mobile"
                                                                                    class="control-label col-xs-4">身份证号码</label>
                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="mobile-operate"
                                                 data-name="idcard" value="LIKE" readonly=""><input type="text"
                                                                                                    class="form-control"
                                                                                                    name="idcard"
                                                                                                    value=""
                                                                                                    placeholder="身份证号码"
                                                                                                    id="idcard"
                                                                                                    data-index="6">
                    </div>
                </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="level"
                                                                                    class="control-label col-xs-4">等级</label>
                    <div class="col-xs-8">
                        <input type="hidden" class="form-control operate" name="level-operate" data-name="level" value="IN" readonly="">

                        {:build_select('level', $leveldata, null, ['class'=>'form-control selectpicker', 'multiple'=>'','data-rule'=>'required'])}


                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="gender"
                                                                                    class="control-label col-xs-4">性别</label>
                    <div class="col-xs-8">
                        <input type="hidden" class="form-control operate" name="gender-operate"  data-name="gender" value="=" readonly="">
                        <select class="form-control"  name="gender">
                            <option value="">选择</option>
                            <option value="0">女</option>
                            <option value="1">男</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label for="age"
                                                                                    class="control-label col-xs-4">年龄</label>
                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="score-operate"
                                                 data-name="age" value="BETWEEN" readonly="">
                        <div class="row row-between">
                            <div class="col-xs-6"><input type="text" class="form-control" name="age" value=""
                                                         placeholder="年龄" id="age-min" data-index="10"></div>
                            <div class="col-xs-6"><input type="text" class="form-control" name="age" value=""
                                                         placeholder="年龄" id="age-max" data-index="10"></div>
                        </div>
                    </div>
                </div>
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="successions"-->
<!--                                                                                    class="control-label col-xs-4">连续登录天数</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="successions-operate"-->
<!--                                                 data-name="successions" value="BETWEEN" readonly="">-->
<!--                        <div class="row row-between">-->
<!--                            <div class="col-xs-6"><input type="text" class="form-control" name="successions" value=""-->
<!--                                                         placeholder="连续登录天数" id="successions-min"-->
<!--                                                         data-index="11"></div>-->
<!--                            <div class="col-xs-6"><input type="text" class="form-control" name="successions" value=""-->
<!--                                                         placeholder="连续登录天数" id="successions-max"-->
<!--                                                         data-index="11"></div>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="maxsuccessions"-->
<!--                                                                                    class="control-label col-xs-4">最大连续登录天数</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate"-->
<!--                                                 name="maxsuccessions-operate" data-name="maxsuccessions"-->
<!--                                                 value="BETWEEN" readonly="">-->
<!--                        <div class="row row-between">-->
<!--                            <div class="col-xs-6"><input type="text" class="form-control" name="maxsuccessions" value=""-->
<!--                                                         placeholder="最大连续登录天数" id="maxsuccessions-min"-->
<!--                                                         data-index="12"></div>-->
<!--                            <div class="col-xs-6"><input type="text" class="form-control" name="maxsuccessions" value=""-->
<!--                                                         placeholder="最大连续登录天数" id="maxsuccessions-max"-->
<!--                                                         data-index="12"></div>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="logintime"-->
<!--                                                                                    class="control-label col-xs-4">登录时间</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="logintime-operate"-->
<!--                                                 data-name="logintime" value="RANGE" readonly=""><input type="text"-->
<!--                                                                                                        class="form-control datetimerange"-->
<!--                                                                                                        name="logintime"-->
<!--                                                                                                        value=""-->
<!--                                                                                                        placeholder="登录时间"-->
<!--                                                                                                        id="logintime"-->
<!--                                                                                                        data-index="13">-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="loginip"-->
<!--                                                                                    class="control-label col-xs-4">登录IP</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="loginip-operate"-->
<!--                                                 data-name="loginip" value="=" readonly=""><input type="text"-->
<!--                                                                                                  class="form-control"-->
<!--                                                                                                  name="loginip"-->
<!--                                                                                                  value=""-->
<!--                                                                                                  placeholder="登录IP"-->
<!--                                                                                                  id="loginip"-->
<!--                                                                                                  data-index="14"></div>-->
<!--                </div>-->
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="jointime"-->
<!--                                                                                    class="control-label col-xs-4">加入时间</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="jointime-operate"-->
<!--                                                 data-name="jointime" value="RANGE" readonly=""><input type="text"-->
<!--                                                                                                       class="form-control datetimerange"-->
<!--                                                                                                       name="jointime"-->
<!--                                                                                                       value=""-->
<!--                                                                                                       placeholder="加入时间"-->
<!--                                                                                                       id="jointime"-->
<!--                                                                                                       data-index="15">-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="joinip"-->
<!--                                                                                    class="control-label col-xs-4">加入IP</label>-->
<!--                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="joinip-operate"-->
<!--                                                 data-name="joinip" value="=" readonly=""><input type="text"-->
<!--                                                                                                 class="form-control"-->
<!--                                                                                                 name="joinip" value=""-->
<!--                                                                                                 placeholder="加入IP"-->
<!--                                                                                                 id="joinip"-->
<!--                                                                                                 data-index="16"></div>-->
<!--                </div>-->
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3"><label for="status"
                                                                                    class="control-label col-xs-4">状态</label>
                    <div class="col-xs-8"><input type="hidden" class="form-control operate" name="status-operate"
                                                 data-name="status" value="=" readonly=""><select class="form-control"
                                                                                                  name="status">
                        <option value="">选择</option>
                        <option value="normal">正常</option>
                        <option value="hidden">隐藏</option>
                    </select></div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>

</script>